﻿using System;
using System.Collections.Concurrent;
using System.IO;
using System.Text.RegularExpressions;

namespace SUNRPA.CONTROLS.IMPL.domain.constant {
    public class DefaultContents {
        
        public static string USER_BASE_PATH = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + Path.DirectorySeparatorChar + "SUNRPA" +  Path.DirectorySeparatorChar;
        public static string LOG_BASE_PATH = USER_BASE_PATH + "log" + Path.DirectorySeparatorChar;

        //浏览器插件中间程序服务名称
        public const string NAMED_PIPE_SERVER = "SUNRPA_BRIDGE";

        //浏览器插件函数名称,格式:类名.函数名
        public const string INITCONSCRIPT = "chrome.InitConScript";
        public const string OPEN_WEBPAGE = "chrome.OpenWebPage";
        public const string DOWNLOAD_BYURL = "chrome.DownloadByUrl";
        public const string GET_OPENED_WEBPAGE = "chrome.GetOpenedWebPage";
        public const string CATCH_ELE = "element.CatchElement";
        public const string CLICK_ELE = "element.ClickEle";
        public const string INPUT_TEXT = "element.InputTextToEle";
        public const string SELECT_DDV = "element.SelectDropDownValue";
        public const string SELECT_DDV_BYINDEX = "element.SelectDropDownByIndex";
        public const string SEARCH_LATEST_DOWNLOAD_ITEM = "chrome.SearchLatestDownloadItem";
        public const string ISDOWNLOAD_FINISHED = "chrome.IsDownloadFinished";
        public const string WAIT_ELE_SHOWUP = "element.WaitEleShowUp";
        public const string WAIT_ELE_DISAPPER = "element.WaitEleDisapper";
        public const string  GET_FOCUS = "element.GetFocus";
    }
}
